#!/bin/bash

read -p "磁盘名称：" name



shuzi=$(df -Th | grep "${name}$" | awk '{print $6}' | awk -F% '{print $1}')

if [ $shuzi -gt 70 ]; then
   echo "警告！！！"
else
   echo "正常"
fi
